package cxt.com.springcloud.client;

import cxt.com.springcloud.pojo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther: ChengXiaotian
 * @Date: 2020-06-11 09:28
 * @Description:
 */
@Component
@FeignClient("cloud-provider-payment809")
public interface orderClient {
    @GetMapping("/payment/{id}")
    CommonResult findById(@PathVariable("id")Long id);
}
